package com.cx.bank.pojo;

public class Log {
    private int log_id;
    private String log_type;
    private double log_amount;
    private int userid;

    @Override
    public String toString() {
        return "log{" +
                "log_id=" + log_id +
                ", log_type='" + log_type + '\'' +
                ", log_amount=" + log_amount +
                ", userid=" + userid +
                '}';
    }

    public Log(String log_type, double log_amount, int userid) {
        this.log_type = log_type;
        this.log_amount = log_amount;
        this.userid = userid;
    }

    public Log(int log_id, String log_type, double log_amount, int userid) {
        this.log_id = log_id;
        this.log_type = log_type;
        this.log_amount = log_amount;
        this.userid = userid;
    }

    public int getLogId() {
        return log_id;
    }

    public void setLogId(int log_id) {
        this.log_id = log_id;
    }

    public String getLogType() {
        return log_type;
    }

    public void setLogType(String log_type) {
        this.log_type = log_type;
    }

    public double getAmount() {
        return log_amount;
    }

    public void setAmount(double log_amount) {
        this.log_amount = log_amount;
    }

    public int getUserId() {
        return userid;
    }

    public void setUserId(int userid) {
        this.userid = userid;
    }
}
